#set -x
export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
# deepspeed cifar10_deepspeed.py --deepspeed_config ds_config.json
# export CUDA_VISIBLE_DEVICES="4,5,6,7"

SCRIPT_DIR=$(dirname "$(realpath "$0")")
PROJECT_DIR=$(realpath "$SCRIPT_DIR"/../../../)
echo SCRIPT_DIR=$SCRIPT_DIR
echo PROJECT_DIR=$PROJECT_DIR

which python
export PYTHONPATH=${PROJECT_DIR}:${PYTHONPATH}
echo ${PYTHONPATH}

python preprocess.py --video-path "dataset/Cinego/"  --output-dir "dataset/minimind-video/"

